//
//  DYOtherProxy.h
//  DYEnergy
//
//  Created by  smarthome on 16/7/27.
//  Copyright © 2016年 firstcare. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <XXError.h>

@interface DYOtherProxy : NSObject

+(void)feedbackSuccess:(NSDictionary *)para
               success:(void (^)(NSURLSessionDataTask *task, id responseObject,id target))success
               dataerr:(void (^)(NSURLSessionDataTask *task, id responseObject,XXError *error))dataerr
               failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;

+(void)getRCloudSuccess:(NSDictionary *)para
               success:(void (^)(NSURLSessionDataTask *task, id responseObject,id target))success
               dataerr:(void (^)(NSURLSessionDataTask *task, id responseObject,XXError *error))dataerr
               failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
@end
